<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>短信入库列表</title>
<#include "/view/admin/headList.html"/>
    <script type="text/javascript">

        $(function() {
            //初始化
        });
    </script>
</head>
<body>



<div class="table-class">
    <div class="panel panel-default" style="margin: 10px 10px 10px;">
     <div class="panel-body">
        <form class="bs-example bs-example-form" role="form">

            <div class="input-group">
                <span class="input-group-addon">手机号码</span>
                <input type="text" id="mobile" class="form-control" value="${entity.mobile!}" placeholder="请输入手机号码">
            </div>
                <span class="bank-label">&nbsp;</span>

       <!--      <div class="input-group">
                <span class="input-group-addon">短信发送接口返回的sendid</span>
                <input type="text" id="sendid" class="form-control" value="${entity.sendid!}" placeholder="请输入短信发送接口返回的sendid">
            </div>
                <span class="bank-label">&nbsp;</span> -->

        <!--     <div class="input-group">
                <span class="input-group-addon">运营商返回的短信发送状态码</span>
                <input type="text" id="result" class="form-control" value="${entity.result!}" placeholder="请输入运营商返回的短信发送状态码">
            </div>
                <span class="bank-label">&nbsp;</span> -->

     <!--        <div class="input-group">
                <span class="input-group-addon">短信发送时间，调用sms-api接口发送短信的时间</span>
                <input type="text" id="sendTime" class="form-control" value="${entity.sendTime!}" placeholder="请输入短信发送时间，调用sms-api接口发送短信的时间">
            </div>
                <span class="bank-label">&nbsp;</span>

            <div class="input-group">
                <span class="input-group-addon">运营商返回的短信送达时间 </span>
                <input type="text" id="reportTime" class="form-control" value="${entity.reportTime!}" placeholder="请输入运营商返回的短信送达时间 ">
            </div>
                <span class="bank-label">&nbsp;</span> -->

            <div class="input-group">
                <span class="input-group-addon">短信计费条数</span>
                <input type="text" id="spliced" class="form-control" value="${entity.spliced!}" placeholder="请输入短信计费条数">
            </div>
                <span class="bank-label">&nbsp;</span>

            <div class="input-group">
                <span class="input-group-addon">创建时间</span>
                <input type="text" id="createtime" class="form-control" value="${entity.createtime!}" placeholder="请输入创建时间">
            </div>
                <span class="bank-label">&nbsp;</span>


            <div class="input-group" style="text-align: right;">
                <a class="btn btn-info"  href="javascript:query('${base}/imsmsstorage/list.do')"><span class="glyphicon glyphicon-search"></span> 查找</a>

            </div>
        </form>
     </div>
    </div>


    <table class="table table-hover table-list">
        <thead>
    <!--     <tr>
            <td class="table-head-btn">
                <div style="text-align:left;margin-left: 50px;">
                    <a href="${base}/imsmsstorage/add.do" class="btn btn-primary">新增</a>
                </div>
            </td>
        </tr> -->
        <tr class="table-head">
            <th>序号</th>
                <th class="label-hidden">主键</th>
                <th>手机号码</th>
                <th>短信发送接口返回的sendid</th>
                <th>运营商返回的短信发送状态码</th>
                <th>短信发送时间，调用sms-api接口发送短信的时间</th>
                <th>运营商返回的短信送达时间 </th>
                <th>短信计费条数</th>
                <th>创建时间</th>

         <!--    <th>操作</th> -->
        </tr>
        </thead>
        <tbody>
        <#list pagination.list as c>
            <tr>
                <td>${(pagination.pageNo-1)*pagination.pageSize+1+c_index}</td>
                        <td class="label-hidden">${c.smsstorageId!}</td>
                            <td>${c.mobile!}</td>

                            <td>${c.sendid!}</td>

                            <td>
                            <#if c.result ?? && c.result="DELIVRD">
                            	成功
                            <#else>
                            	失败
                            </#if>
                          
                            
                            </td>

                            <td>${c.sendTime!}</td>

                            <td>${c.reportTime!}</td>

                            <td>${c.spliced!}</td>

                            <td>${c.createtime!}</td>


                <!-- <td>
                    <a href="${base}/imsmsstorage/detail.do?smsstorageId=${c.smsstorageId!}" class="btn btn-primary">详情</a>
                    <a href="${base}/imsmsstorage/add.do?smsstorageId=${c.smsstorageId!}" class="btn btn-primary">修改</a>
                    <a href="javascript:checkDelete('${base}/imsmsstorage/delete.do?smsstorageId=${c.smsstorageId!}')" class="btn btn-primary">删除</a>
                </td> -->
            </tr>








        </#list>
        </tbody>
    </table>


</div>
<script>

    function queryCondition(){
        var href="";
            href+='mobile='+$('#mobile').val();
                href+='&'
                	 /*     href+='sendid='+$('#sendid').val();
                href+='&'
                	    href+='result='+$('#result').val();
                href+='&' */
    /*         href+='sendTime='+$('#sendTime').val();
                href+='&'
            href+='reportTime='+$('#reportTime').val();
                href+='&'*/
            href+='spliced='+$('#spliced').val();
                href+='&' 
            href+='createtime='+$('#createtime').val();
                
        return href;
    }

</script>

</body>
</html>
